package com.sntra.beibi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;

import lombok.Data;

import java.util.Date;

public class Comment {
    private Integer id;

    private Integer userId;

    private Integer pageId;

    private Integer bookId;

    private String content;

    private Date createTime;

    private Byte type;

    private Integer up;

    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getPageId() {
		return pageId;
	}

	public void setPageId(Integer pageId) {
		this.pageId = pageId;
	}

	public Integer getBookId() {
		return bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Byte getType() {
		return type;
	}

	public void setType(Byte type) {
		this.type = type;
	}

	public Integer getUp() {
		return up;
	}

	public void setUp(Integer up) {
		this.up = up;
	}

	@Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
